package cn.szsys.integration.helper.business;

import cn.szsys.integration.util.R;
import com.alibaba.fastjson2.JSONObject;

/**
 * 计费点请求处理链
 *
 * @author Ryan
 * @since 2025-05-12
 **/
public interface IBilledHandlerChain<T> extends IForwardHandlerChain<T> {
    /**
     * 转换对应结果并设置计费信息
     *
     * @param obj           obj
     * @param consumingTime consumingTime
     * @return {@link R}
     * @author Ryan
     */
    R<?> convertResultAndBilling(JSONObject obj, long consumingTime);
}
